/* 搜索区域 */
.search-area {
    display: none;
    position: absolute;
    z-index: 100;
    top: 90px;
    width: 100%;
    height: 1047px;
    background-color: #fff;
}

/* 搜索居中区域 */
.search-middle-area {
    position: relative;
    width: 1200px;
    height: 247px;
    margin: auto;
    background-image: url(../images/searchMusic.webp);
    background-size: cover;
    background-repeat: no-repeat;
}





/* 搜索区 */
.search-box {
    position: absolute;
    top: 80px;
    left: 50%;
    margin-left: -300px;
    width: 600px;
    height: 50px;
    background-color: #fff;
    border-radius: 3px;
}

/* 搜索框 */
.search {
    margin-left: 20px;
    width: 500px;
    height: 100%;
    line-height: 50px;
    font-size: 16px;
    border: 0;
}

/* 搜索放大镜 */
.search-btn {
    font-family: 'icomoon';
    margin-left: 40px;
    border: 0;
    background-color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* 热搜盒子 */
.hot-search-box {
    position: absolute;
    left: 50%;
    margin-left: -240px;
    top: 150px;
    width: 480px;
    height: 20px;
    color: #fff;
    font-size: 14px;
}

/* 热搜item */
.hot-search-box span {
    margin-left: 10px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.hot-search-box span:hover {
    color: #31C27C;
}

/* 历史搜索盒子 */
.history-search-box {
    display: none;
    position: absolute;
    z-index: 3;
    width: 100%;
    background-color: #fff;
}

/* "历史搜索"字样 */
.history-search-title {
    position: relative;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    color: #555;
    padding-left: 15px;
    border-bottom: 1px solid #c2c2c2;
}

/* 清除按钮“x” */
.clear-btn {
    position: absolute;
    right: 10px;
    font-family: 'icomoon';
    font-size: 14px;
    cursor: pointer;
}

/* 历史记录ul */
.history-search {
    width: 100%;
}

/* 生成的历史记录li */
.history-search-item {
    width: 100%;
    height: 40px;
    padding-left: 20px;
    line-height: 40px;
    border-bottom: 1px solid #c2c2c2;
    font-size: 14px;
    cursor: pointer;
}

.history-search-item:hover {
    background-color: #31C27C;
    color: #fff;
}

/* 模糊搜索大盒子 */
.relevant-result-box {
    display: none;
    position: absolute;
    z-index: 100;
    width: 100%;
    height: 440px;
    background-color: #fff;
}

/* 模糊搜索单曲、歌单、专辑盒子 */
.relevant-songs,
.relevant-playlists,
.relevant-albums {
    width: 600px;
}


/* 包含标题的所有item */
.songs-tip,
.playlists-tip,
.albums-tip,
.relevant-songs-item,
.relevant-playlists-item,
.relevant-albums-item {
    width: 600px;
    height: 40px;
    padding-left: 20px;
    line-height: 40px;
    border-bottom: 1px solid #c2c2c2;
    font-size: 14px;
}

/* “单曲”“歌单”“专辑”标题 */
.songs-tip,
.playlists-tip,
.albums-tip {
    font-size: 16px;
    font-weight: bold;
}

/* 需被渲染的item */
.relevant-songs-item,
.relevant-playlists-item,
.relevant-albums-item {
    display: none;
    cursor: pointer;
}

.relevant-songs-item:hover,
.relevant-playlists-item:hover,
.relevant-albums-item:hover {
    background-color: #31C27C;
    color: #fff;
}





/* 搜索结果区域 */
.search-result-area {
    width: 100%;
    height: 800px;
}

/* 居中搜索区域 */
.result-middle-area {
    display: none;
    position: relative;
    margin: auto;
    width: 1200px;
    height: 100%;
}

/* 导航栏 */
.result-nav {
    display: flex;
    justify-content: space-around;
    width: 240px;
    height: 20px;
    margin: 20px auto;
}

/* 导航栏item */
.result-nav span {
    cursor: pointer;
}

/* 默认选中“单曲” */
.result-nav span:nth-of-type(1) {
    color: #31C27C;
}





/* 单曲搜索结果 */
/* 序号盒子 */
.result-numbers {
    float: left;
    width: 50px;
    height: 660px;
}

/* 歌曲盒子 */
.result-songs {
    float: left;
    width: 450px;
    height: 660px;
}

/* 歌手盒子 */
.result-artists {
    float: left;
    width: 350px;
    height: 660px;
}

/* 专辑盒子 */
.result-albums {
    float: left;
    width: 350px;
    height: 660px;
}

/* 每个item */
.result-middle-area li {
    width: 100%;
    height: 60px;
    padding-left: 10px;
    line-height: 60px;
    font-size: 14px;
}

/* 标题 */
.result-numbers-header,
.result-songs-header,
.result-artists-header,
.result-albums-header {
    height: 60px;
    padding-left: 10px;
    color: #999999;
    line-height: 60px;
}

/* 序号item */
.result-numbers-box li {
    color: #999999;
}

.result-songs-box li:hover {
    color: #31C27C;
    cursor: pointer;
}





/* 歌单搜索结果 */
/* 专辑搜索结果 */
.result-main-area-playlists,
.result-main-area-albums {
    position: absolute;
    display: none;
}

/* 歌单图区域 */
/* 专辑图区域 */
.result-playlists-area1,
.result-albums-area1 {
    float: left;
    width: 60px;
    height: 660px;
}

/* 歌单名区域 */
/* 专辑名区域 */
.result-playlists-area2,
.result-albums-area2 {
    float: left;
    width: 500px;
    height: 660px;
}

/* 歌单创建人区域 */
/* 专辑歌手区域 */
.result-playlists-area3,
.result-albums-area3 {
    float: left;
    width: 500px;
    height: 660px;
}

/* 歌单播放量区域 */
/* 专辑类型区域 */
.result-playlists-area4,
.result-albums-area4 {
    float: left;
    width: 140px;
    height: 660px;
}

/* 小标题字样 */
.result-playlists-title,
.result-albums-title {
    height: 60px;
    padding-left: 20px;
    color: #999999;
    line-height: 60px;
}

/* 存放每个item的盒子 */
.result-playlists-pictures-box,
.result-playlists-names-box,
.result-playlists-users-box,
.result-playlist-counts-box,
.result-albums-pictures-box,
.result-albums-names-box,
.result-albums-users-box,
.result-albums-types-box {
    height: 600px;
}

/* 所有item */
.result-main-area-playlists li,
.result-main-area-albums li {
    width: 100%;
    height: 60px;
    padding-left: 20px;
    line-height: 60px;
    font-size: 14px;
    cursor: pointer;
}

.result-albums-area4 li,
.result-playlists-area4 li {
    cursor: default;
    color: #999;
}

/* 歌单图片 */
/* 专辑图片 */
.result-playlists-pictures-box li,
.result-albums-pictures-box li {
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: center;
}

.result-main-area-playlists li:hover,
.result-main-area-albums li:hover {
    color: #31C27C;
}

.result-playlists-area4 li:hover,
.result-albums-area4 li:hover {
    color: #999;
}





/* mv搜索结果 */
.result-main-area-mvs {
    display: none;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 720px;
}

/* 三个行快 */
.result-mvs-line1,
.result-mvs-line2,
.result-mvs-line3 {
    width: 100%;
    height: 220px;
}

/* 第二三行快 */
.result-mvs-line2,
.result-mvs-line3 {
    margin-top: 30px;
}

/* 每个行快的item */
.result-mvs-item {
    float: left;
    display: none;
    overflow: hidden;
    width: 270px;
    height: 220px;
}

.mvs-margin {
    margin-right: 40px;
}

/* 图片 */
.mv-pic {
    display: block;
    position: relative;
    overflow: hidden;
    width: 270px;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s;
}

.mv-pic:hover {
    transform: scale(1.1);
}

/* 按钮 */
.mv-button {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    margin-top: -35px;
    margin-left: -35px;
    width: 70px;
    height: 70px;
    background-image: url(../images/playlist-recommend/display-button.png);
    background-size: contain;
    transform: scale(0.5);
    transition: all 0.5s;
    opacity: 0;
}

.mv-pic:hover .mv-button {
    transform: scale(1);
    opacity: 1;
}

/* mv遮罩层 */
.mv-mask {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 270px;
    height: 160px;
    background-color: rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: all 0.3s;
}

.mv-pic:hover .mv-mask {
    display: block;
}

/* mv名 */
/* mv歌手 */
.mv-name,
.mv-player {
    width: 100%;
    height: 30px;
    overflow: hidden;
    padding-left: 10px;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mv-name {
    line-height: 40px;
}

.mv-player {
    color: #999;
}

/* 无搜索记录 */
.no-result {
    display: none;
    text-align: center;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
}